﻿using UnityEngine;
using System.Collections;

public class startGame : MonoBehaviour {
    public GameObject logo;
    private  manCCL man;
    public GameObject numberCount;
    void Start() 
    {
        man=GameObject.FindGameObjectWithTag("Player").GetComponent<manCCL>();
    }
    
	// Use this for initialization
    public void OnClick() 
    {
        logo.SetActive(false);
        man.state = GameState.runing;
        gameObject.SetActive(false);
        numberCount.transform.localPosition = Vector2.zero;
    }


}
